|
RtCloseHandle closes an open object handle.
Syntax
BOOL RtCloseHandle( HANDLE hObject );
Parameters
hObject
An open object handle.
Return Values
TRUE if the function succeeds, FALSE if the function fails
To get extended error information, call GetLastError.
Remarks
RtCloseHandle closes handles to the following RTSS objects:
RtCloseHandle invalidates the specified object handle, decrements the object's handle count, and performs object retention checks. Once the last handle to an object is closed, the object is removed from the operating system.
NOTE: Threads must be closed with RtCloseHandle.
Requirements
Header | Rtapi.h |
Library | rtapi_w32.lib (Windows), Rtx_Rtss.lib (RTSS) |
See Also: